package com.hanqi.util.shiro;

import org.apache.shiro.spring.web.ShiroFilterFactoryBean;

import javax.servlet.Filter;
import java.util.Map;

public class MyShiroFilterFactoryBean extends ShiroFilterFactoryBean {

    public MyShiroFilterFactoryBean() {
        Map<String, Filter> mapFilters = this.getFilters();
        mapFilters.put("authc", new CustomUserFilter());
    }
}
